package app.dao;

import java.util.List;

import app.bean.User;

public interface UserDao {
	//条件查询用户
	public User queryByNameOrPass(User user);
	//注册
	public int register(User user);
	//修改
	public int update(User user);
	//删除
	public int delete(Integer id);
	//判断注册是否重复
	public int queryCountbyUserName(String username);
	//条件查询所有
	public List<User> queryAllByExample(User user);
	
}
